package com.luck.easyfoodbatch.mvp.model;

import java.io.Serializable;
import java.util.List;

/**
 * author：luck
 * project：EasyFoodBatch
 * package：com.luck.easyfoodbatch.mvp.model
 * email：893855882@qq.com
 * data：16/11/10
 */
public class CartM implements Serializable {

    private int status;
    private String authToken;

    private DataBean data;
    private String msg;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getAuthToken() {
        return authToken;
    }

    public void setAuthToken(String authToken) {
        this.authToken = authToken;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean implements Serializable {
        private double total_price;
        private String total_price_str;

        private List<CartsBean> carts;

        public double getTotal_price() {
            return total_price;
        }

        public void setTotal_price(double total_price) {
            this.total_price = total_price;
        }

        public String getTotal_price_str() {
            return total_price_str;
        }

        public void setTotal_price_str(String total_price_str) {
            this.total_price_str = total_price_str;
        }

        public List<CartsBean> getCarts() {
            return carts;
        }

        public void setCarts(List<CartsBean> carts) {
            this.carts = carts;
        }

        public static class CartsBean implements Serializable {
            private String total_price;
            private String shop_id;
            private String shop_name;
            private boolean isChecked;

            public boolean isChecked() {
                return isChecked;
            }

            public void setChecked(boolean checked) {
                isChecked = checked;
            }

            private List<GoodsBean> goods;

            public String getTotal_price() {
                return total_price;
            }

            public void setTotal_price(String total_price) {
                this.total_price = total_price;
            }

            public String getShop_id() {
                return shop_id;
            }

            public void setShop_id(String shop_id) {
                this.shop_id = shop_id;
            }

            public String getShop_name() {
                return shop_name;
            }

            public void setShop_name(String shop_name) {
                this.shop_name = shop_name;
            }

            public List<GoodsBean> getGoods() {
                return goods;
            }

            public void setGoods(List<GoodsBean> goods) {
                this.goods = goods;
            }

            public static class GoodsBean implements Serializable {
                private String cid;
                private String uid;
                private String shop_id;
                private String shop_name;
                private String gid;
                private String goods_thumb;
                private String goods_name;
                private String propertyTags;
                private String batch_id;
                private String due_date;
                private String province_id;
                private String price;
                private String weight;
                private String num;
                private int is_check;
                private String is_error;
                private String error_msg;
                private String warehouse_id;
                private String warehouse_province;
                private String warehouse_city;
                private String warehouse_town;
                private String warehouse_member;
                private String warehouse_mobile;
                private String warehouse_str;
                private String created_at;
                private String updated_at;
                private int enough_stock;

                public int getEnough_stock() {
                    return enough_stock;
                }

                public void setEnough_stock(int enough_stock) {
                    this.enough_stock = enough_stock;
                }

                public String getCid() {
                    return cid;
                }

                public void setCid(String cid) {
                    this.cid = cid;
                }

                public String getUid() {
                    return uid;
                }

                public void setUid(String uid) {
                    this.uid = uid;
                }

                public String getShop_id() {
                    return shop_id;
                }

                public void setShop_id(String shop_id) {
                    this.shop_id = shop_id;
                }

                public String getShop_name() {
                    return shop_name;
                }

                public void setShop_name(String shop_name) {
                    this.shop_name = shop_name;
                }

                public String getGid() {
                    return gid;
                }

                public void setGid(String gid) {
                    this.gid = gid;
                }

                public String getGoods_thumb() {
                    return goods_thumb;
                }

                public void setGoods_thumb(String goods_thumb) {
                    this.goods_thumb = goods_thumb;
                }

                public String getGoods_name() {
                    return goods_name;
                }

                public void setGoods_name(String goods_name) {
                    this.goods_name = goods_name;
                }

                public String getPropertyTags() {
                    return propertyTags;
                }

                public void setPropertyTags(String propertyTags) {
                    this.propertyTags = propertyTags;
                }

                public String getBatch_id() {
                    return batch_id;
                }

                public void setBatch_id(String batch_id) {
                    this.batch_id = batch_id;
                }

                public String getDue_date() {
                    return due_date;
                }

                public void setDue_date(String due_date) {
                    this.due_date = due_date;
                }

                public String getProvince_id() {
                    return province_id;
                }

                public void setProvince_id(String province_id) {
                    this.province_id = province_id;
                }

                public String getPrice() {
                    return price;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public String getWeight() {
                    return weight;
                }

                public void setWeight(String weight) {
                    this.weight = weight;
                }

                public String getNum() {
                    return num;
                }

                public void setNum(String num) {
                    this.num = num;
                }

                public int getIs_check() {
                    return is_check;
                }

                public void setIs_check(int is_check) {
                    this.is_check = is_check;
                }

                public String getIs_error() {
                    return is_error;
                }

                public void setIs_error(String is_error) {
                    this.is_error = is_error;
                }

                public String getError_msg() {
                    return error_msg;
                }

                public void setError_msg(String error_msg) {
                    this.error_msg = error_msg;
                }

                public String getWarehouse_id() {
                    return warehouse_id;
                }

                public void setWarehouse_id(String warehouse_id) {
                    this.warehouse_id = warehouse_id;
                }

                public String getWarehouse_province() {
                    return warehouse_province;
                }

                public void setWarehouse_province(String warehouse_province) {
                    this.warehouse_province = warehouse_province;
                }

                public String getWarehouse_city() {
                    return warehouse_city;
                }

                public void setWarehouse_city(String warehouse_city) {
                    this.warehouse_city = warehouse_city;
                }

                public String getWarehouse_town() {
                    return warehouse_town;
                }

                public void setWarehouse_town(String warehouse_town) {
                    this.warehouse_town = warehouse_town;
                }

                public String getWarehouse_member() {
                    return warehouse_member;
                }

                public void setWarehouse_member(String warehouse_member) {
                    this.warehouse_member = warehouse_member;
                }

                public String getWarehouse_mobile() {
                    return warehouse_mobile;
                }

                public void setWarehouse_mobile(String warehouse_mobile) {
                    this.warehouse_mobile = warehouse_mobile;
                }

                public String getWarehouse_str() {
                    return warehouse_str;
                }

                public void setWarehouse_str(String warehouse_str) {
                    this.warehouse_str = warehouse_str;
                }

                public String getCreated_at() {
                    return created_at;
                }

                public void setCreated_at(String created_at) {
                    this.created_at = created_at;
                }

                public String getUpdated_at() {
                    return updated_at;
                }

                public void setUpdated_at(String updated_at) {
                    this.updated_at = updated_at;
                }
            }
        }
    }
}
